<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>教务系统 - 登录</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <div class="login-container">
        <h1>教务系统登录</h1>
        <form id="loginForm"  method="post">
            <div class="form-group">
                <label for="username">用户名：</label>
                <input type="text" id="username" name="username" required>
            </div>
            <div class="form-group">
                <label for="password">密码：</label>
                <input type="password" id="password" name="password" required>
            </div>
            <div class="form-group">
                <label for="role">身份：</label>
                <select id="role" name="role">
                    <option value="student">学生</option>
                    <option value="teacher">教师</option>
                    <option value="admin">教务管理员</option>
                </select>
            </div>
            <button type="submit" id="login">登录</button>
        </form>
    </div>
    <script src="js/login2.js"></script>
</body>
</html> 